package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dto.SensitiveDTO;
import com.heima.model.admin.pojos.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;

/*
* TODO 敏感词管理
*  */
public interface AdSensitiveService extends IService<AdSensitive> {

    /*
    * todo 敏感词查询
    *  */
    ResponseResult queueList(SensitiveDTO sensitiveDTO);

    /*
    * todo 敏感词新增
    *  */
    ResponseResult saveAdSensitive(AdSensitive adSensitive);

    /*
    * TODO 敏感词修改
    *  */
    ResponseResult updateAdSensitive(AdSensitive adSensitive);

    /*
     * TODO 敏感词删除
     *  */
    ResponseResult deleteById(Integer id);

    /*
    * TODO 查询敏感词内容LIST
    *  */
    ResponseResult queueAllSensitives();


}
